class Person:
    # 全局变量
    name = None
    age = None

    def f1(self):
        # 局部变量
        name = None
